package com.example.demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author:WuHaojie-java28th
 * @date:
 * @version:
 * @description:
 * @modified-By:
 **/

@Controller
@RequestMapping("user")
public class TestController {

    @RequestMapping("wu")
    public ModelAndView login(){
        return new ModelAndView("/META-INF/hello.jsp");
    }

    @RequestMapping("lee")
    public ModelAndView logout(){
        return new ModelAndView("/META-INF/bye.jsp");
    }
}

